<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script>
    var person = {
        first: '小明',
        last: '小红'
    };
    const friend = ({ first, last }) => first + '   ' + last;
    console.log(friend(person))
   var subbtn=document.getElementById("btn")

</script>
<body>
<input type="text" value="提交" id="btn">
</body>
</html>